﻿using System;
using System.Collections.Generic;

namespace Epam.PeopleInterfaces
{
    public interface IPeopleRepository:IBaseRepository<IPeopleEntity,IDtoPeopleEntity>
    {
        IEnumerable<IDtoPeopleEntity> ReadAll();

        IEnumerable<IDtoPeopleEntity> ReadPage(int currentPage, int itemPerPage);

        IEnumerable<IDtoPeopleEntity> Filter(double lowfactor,double hightfactor,IFilterAlgoritm filter);
    }
}
